package com.sumainfor.pc.dev.dao;

import java.util.List;
import java.util.Map;
/**
* <p>
* Banner
* </p>
*
* @author: zhoucong
* @since:
*/
public interface BannerMapper {

     /**
      * <p>
      * 根据Banner上架状态查询数量
      * </p>
      *
      * @author: zhoucong
      * @since:
      */
     Integer getBannerStatusCount(Map<String,Object> params);

     /**
      * <p>
      * 根据上架状态查询首页Banner
      * </p>
      *
      * @author: zhoucong
      * @since:
      */
     List<Map<String,Object>> getBannerStatus(Map<String,Object> params);

     /**
      * <p>
      * 更新首页Banner上下架状态
      * </p>
      *
      * @author: zhoucong
      * @since:
      */
     Integer updateBannerStatus(Map<String,Object> params);


     /**
     * <p>
     * 删除banner
     * </p>
     *
     * @author: zhoucong
     * @since:
     */
     Integer deleteBanner(Map<String,Object> params);

     /**
     * <p>
     * 创建banner
     * </p>
     *
     * @author: zhoucong
     * @since:
     */
     Integer insertBanner(Map<String,Object> params);


}
